package com.aptemo.webetek.client.commands.impl;

import com.aptemo.webetek.client.commands.PagingAction;
import com.aptemo.webetek.client.enums.EnumPaymentOrdering;
import com.aptemo.webetek.client.enums.EnumPaymentType;
import com.aptemo.webetek.shared.PaymentBean;

public class GetPaymentsPagingAction
		extends PagingAction<PaymentBean>
{

	private EnumPaymentType		type;

	private String				teamId;

	private EnumPaymentOrdering	order;

	protected GetPaymentsPagingAction()
	{
	}

	public GetPaymentsPagingAction(String teamId, String cursor, int pageSize)
	{
		this(teamId, EnumPaymentType.ALL, EnumPaymentOrdering.DATE_DESC, cursor, pageSize);
	}

	public GetPaymentsPagingAction(String teamId, EnumPaymentType type, String cursor, int pageSize)
	{
		this(teamId, type, EnumPaymentOrdering.DATE_DESC, cursor, pageSize);
	}

	public GetPaymentsPagingAction(String teamId, EnumPaymentType type, EnumPaymentOrdering order, String cursor, int pageSize)
	{
		super(cursor, pageSize);
		this.teamId = teamId;
		this.order = order;
		this.type = type;
	}

	public EnumPaymentType getType()
	{
		return type;
	}

	public String getTeamId()
	{
		return teamId;
	}

	public EnumPaymentOrdering getOrder()
	{
		return order;
	}

}
